<template>
	<div class="tips">
		<img src="@/assets/images/community_tip.png" />
		<h1>无法访问开发者社区</h1>
		<p>{{ props.message }}</p>
		<slot name="btn"> </slot>
	</div>
</template>

<script setup lang="ts">
const props = defineProps(['message'])
</script>

<style lang="less" scoped>
.tips {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 440px;
	background: #ffffff;
	box-shadow: 0px 10px 10px rgba(186, 197, 227, 0.3);
	border-radius: 8px;
	padding: 40px;
	box-sizing: border-box;
	img {
		width: 200px;
		height: 200px;
	}
	h1 {
		font-family: 'PingFang SC';
		font-style: normal;
		font-weight: 500;
		font-size: 20px;
		line-height: 28px;
		text-align: center;
		letter-spacing: 0.01em;
		color: #1f2329;
		margin-bottom: 10px;
	}
	p {
		font-family: 'PingFang SC';
		font-style: normal;
		font-weight: 400;
		font-size: 14px;
		line-height: 28px;
		text-align: center;
		letter-spacing: 0.01em;
		color: #646a73;
		margin-bottom: 33px;
	}
}
</style>
